package main

import (
	"fmt"
	"regexp"
)

func main() {
	pattern := "[0-9]+"
	data := "hello"
	matched, err := regexp.MatchString(pattern, data)
	fmt.Println("matched=", matched, "err=", err)

	phone := "13600000000"
	b, err := regexp.MatchString(pattern, phone)
	fmt.Println("matched=", b, "err=", err)
}
